package com.java.second_goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 厨师对象 tb_chef
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_chef")
public class Chef extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 厨师ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 厨师姓名 */
    private String name;

    /** 头像URL */
    private String avatar;

    /** 评分 */
    private BigDecimal rating;

    /** 专长 */
    private String specialty;

    /** 介绍 */
    private String description;

    /** 工作经验年数 */
    private Integer experience;

    /** 是否人气厨师 */
    private Boolean isPopular;

    /** 主要菜系ID */
    private Integer categoryId;

    /** 状态：1-正常，0-禁用 */
    private Integer status;
}